from django.urls import path
from . import views

urlpatterns = [
    # Correct the URL path to match the 'article_detail' name and include an article ID parameter
    path("", views.index, name="index"),
    path('detail/<int:article_id>/', views.article_detail, name='detail'),
]
